<?php
namespace app\controllers;
use yii\web\Controller;
use Yii;

class QqController extends Controller
{
    public function actionIndex()
    {
        return $this->render("index");//跳转
    }
    public function actionQq_login()
    {
        include ("qq/API/qqConnectAPI.php");//引用
        $qq=new \QC();//实劣化
        return $qq->qq_login();//返回
    }

}
?>